﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Validate.aspx.cs" Inherits="WebApplication1.Validate" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css" >
center
{
    width:0px;
    height:0px;
    display:none;
    }    
</style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:TextBox ID="tu" runat="server"></asp:TextBox>
        <asp:TextBox ID="tp" runat="server" TextMode="Password"></asp:TextBox>
        <asp:Button ID="Button1" runat="server" Text="Validate" 
            onclick="Button1_Click" />
    
    </div>
    </form>
    <script  type="text/javascript">
        document.body.insertAdjacentHTML = null;
        function btnSrch_onclick() {
            window.location = "http://" + location.host + "/Home.aspx" + "?title=" + document.getElementById("search").value;
        }
</script>
</body>
</html>
